import request from '@/utils/request';

export function getPhonePage(query) {
  return request({
    url: '/api/manual/phone/listPage',
    method: 'post',
    data: query
  });
}

export function saveOrUpdatePhone(form) {
  return request({
    url: '/api/manual/phone/saveOrUpdate',
    method: 'post',
    data: form
  });
}

export function deletePhone(id) {
  return request({
    url: '/api/manual/phone/delete',
    method: 'post',
    data: { 'id': id }
  });
}

